
package com.application.workbench.commons;

import java.util.HashMap;
import java.util.Map;

import com.manager.commons.BaseConstants;


public final class Constants extends BaseConstants {
	//跳转页面配置
	public static Map forwordMap = new HashMap();
    
	//预警处理页面配置
	public static Map warningForwordMap = new HashMap();
	
	public static final String NOTICE = "notice"; // 列表

	public static final String SUCCESS = "success"; // 成功标示
	
	public static final String SHOW_NOTICE = "show_notice"; //查看通知
	
	
	/**
	 * 项目建议书
	 */
	public static final long WORKBENCH_PROJECT_PROPOSAL = 40001L;
    
	/**
	 * 项目任务书
	 */
	public static final long WORKBENCH_PROJECT_CONTRACT = 40002L;
	
	/**
	 * 外协合同
	 */
	public static final long WORKBENCH_OUTSOURCE_CONTRACT = 40003L; 
	
	/**
	 * 项目进度上报
	 */
	public static final long WORKBENCH_PLAN_REPORT = 40004L; 
	
	/**
	 * 项目进度调整
	 */
	public static final long WORKBENCH_PLAN_TRIM = 40005L;
	
	/**
	 * 项目费用申请
	 */
	public static final long WORKBENCH_FEE_APPLY = 40006L;
	
	/**
	 * 项目验收
	 */
	public static final long WORKBENCH_PROJECT_ACCEPTANCE = 40007L;
	/**
	 * 专题会议
	 */
	public static final long WORKBENCH_CONFERENCE = 50001L;	
	/**
	 * 专题会议
	 */
	public static final long WORKBENCH_ARCHIVES = 50002L;	
	
	/**
	 * 显示的记录条数
	 */
	public static final int WORKBENCH_SHOW_ITEM = 10;
	
	/**
	 * 结题预警参数配置
	 */
	public static final String WARNING_CONFIG_ACCEPTANCE = "4100103";
	
	/**
	 * 专利预警参数配置
	 */
	public static final String WARNING_CONFIG_PATENT = "4100102";
	
	public static final long WARNING_PROGRESS = 56001l;
	
	public static final long WARNING_ACCEPTANCE = 56002l;
	
	public static final long WARNING_PATENT = 56003l;
	static{
		//项目建议书
		forwordMap.put(WORKBENCH_PROJECT_PROPOSAL, "/viewProjectrfps.do?method=viewProjectrfps&id=");
		//项目任务书
		forwordMap.put(WORKBENCH_PROJECT_CONTRACT, "/viewProjectworksheets.do?method=viewProjectworksheets&id=");
		//外协合同
		forwordMap.put(WORKBENCH_OUTSOURCE_CONTRACT, "/viewOutsourcingcontract.do?method=viewOutsourcingcontract&id=");
		//进度上报(月)
		forwordMap.put(WORKBENCH_PLAN_REPORT, "/viewPlanReport.do?method=viewPlanReport&id=");
		//进度计划调整
		forwordMap.put(WORKBENCH_PLAN_TRIM, "/viewArrangedModify.do?method=viewArrangedModify&id=");
		//费用申请
		forwordMap.put(WORKBENCH_FEE_APPLY, "/viewExpense.do?method=viewExpense&id=");
		//项目验收
		forwordMap.put(WORKBENCH_PROJECT_ACCEPTANCE, "/viewAcceptance.do?method=viewAcceptance&id=");
		
		
		warningForwordMap.put(WARNING_ACCEPTANCE, "/toAddAcceptance.do?method=toAddAcceptance");
		warningForwordMap.put(WARNING_PROGRESS, "/toAddPlanReport.do?method=toAddPlanReport,/toAddPlanReportQuarter.do?method=toAddPlanReportByQuarter");
	}
	

	
	
	
	
	
	
	
	

}
